﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Uniforax.Core.Armors;
using Uniforax.Core.Common.Battle;

namespace Uniforax.Camp.TestData.Common
{
    public class TestDataArmor2 : BaseArmor
    {
        public override void Effect(AttackContext context)
        {
            var originDamage = context.Damage;
            var finalDamage = (int)Math.Floor(originDamage * (1 - 0.1));
            context.Damage = finalDamage;
        }
    }
}
